//
//  FLTTIMPlugin.m
//  Runner
//
//  Created by ui on 2020/11/2.
//

#import "FLTTIMPlugin.h"

@implementation FLTTIMPlugin

+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar{
    FlutterMethodChannel *channel = [FlutterMethodChannel methodChannelWithName:@"tim" binaryMessenger:[registrar messenger]];
    FLTTIMPlugin *instance = [[FLTTIMPlugin alloc]init];
    [registrar addMethodCallDelegate:instance channel:channel];
}

- (void)handleMethodCall:(FlutterMethodCall *)call result:(FlutterResult)result {
    if ([call.method isEqualToString:@"initIm"]) {
        result(@"么么哒");
    }else {
        result(FlutterMethodNotImplemented);
    }
}


@end
